import {Component, Input} from '@angular/core';
import { NavController, NavParams } from 'ionic-angular';
import {TopicInfo} from "../../models/quesinfo";

/**
 * Generated class for the QuestionSubjectivityPage page.
 *
 * See https://ionicframework.com/docs/components/#navigation for more info on
 * Ionic pages and navigation.
 */


@Component({
  selector: 'page-question-subjectivity',
  templateUrl: 'question-subjectivity.html',
})
export class QuestionSubjectivityPage {
  @Input() topic: TopicInfo;@Input() poneSet: Array<any>;
  @Input()
  topicIndex;
  topicIndexshow;

  constructor(public navCtrl: NavController, public navParams: NavParams ) {
  }

  ionViewDidLoad() {
    //console.log('ionViewDidLoad QuestionSubjectivityPage');
  }

  ngOnInit(): void {
    this.topic["subjectivity"] = "";
    this.topicIndexshow=this.topicIndex+1;
  }



}
